<?php
	$fileName = "products/".$_REQUEST['product']."/".strtolower(trim($_REQUEST['type']).".txt");
	file_put_contents($fileName,$_REQUEST['version']);
?>